package com.baizhi.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.*;

import java.io.Serializable;
import java.util.Date;
@AllArgsConstructor
@NoArgsConstructor
@Getter
@Setter
@ToString
public class Banner implements Serializable {
    @Excel(name="轮播图编号")
    private int bannerId;
    @Excel(name="轮播图图片")
    private String bannerImageUrl;
    @Excel(name="轮播图名字")
    private String bannerOldName;
    @Excel(name="轮播图状态",replace = {"展示_2","冻结_1"})
    private int bannerState;
    @Excel(name="轮播图上传时间")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone ="GMT+8")
    private Date bannerDate;
    @Excel(name="轮播图描述")
    private String bannerDescription;
}
